package com.netnovelstore.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data

public class AliPay {
    @Size(max = 20)
    @NotBlank
    @ApiModelProperty(name = "traceNo", value = "订单号(唯一)", dataType = "String")
    private String traceNo;
    @NotNull
    @ApiModelProperty(name = "totalAmount", value = "金额", dataType = "Double")
    private Integer totalAmount;
    @NotBlank
    @ApiModelProperty(name = "subject", value = "物品名", dataType = "String")
    private String subject;
    private String alipayTraceNo;

    private Integer userNumber;
}